package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2020-04-13
 */
public class Transfer extends Model<Transfer> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * false-正常 true-作废
     */
    private Boolean close;

    /**
     * 门店id
     */
    private String storeId;

    /**
     * 转出账户
     */
    private String outSettAccountId;

    /**
     * 转出日期
     */
    private Date outDate;

    /**
     * 转入账户
     */
    private String inSettAccountId;

    /**
     * 转入日期
     */
    private Date inDate;

    /**
     * 金额
     */
    private BigDecimal amt;

    /**
     * 手续费
     */
    private BigDecimal handleFee;

    /**
     * 经办人
     */
    private String userId;

    /**
     * 备注
     */
    private String remark;

    private Date time;

    /**
     * 所属公司
     */
    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public Boolean getClose() {
        return close;
    }

    public void setClose(Boolean close) {
        this.close = close;
    }
    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }
    public String getOutSettAccountId() {
        return outSettAccountId;
    }

    public void setOutSettAccountId(String outSettAccountId) {
        this.outSettAccountId = outSettAccountId;
    }
    public Date getOutDate() {
        return outDate;
    }

    public void setOutDate(Date outDate) {
        this.outDate = outDate;
    }
    public String getInSettAccountId() {
        return inSettAccountId;
    }

    public void setInSettAccountId(String inSettAccountId) {
        this.inSettAccountId = inSettAccountId;
    }
    public Date getInDate() {
        return inDate;
    }

    public void setInDate(Date inDate) {
        this.inDate = inDate;
    }
    public BigDecimal getAmt() {
        return amt;
    }

    public void setAmt(BigDecimal amt) {
        this.amt = amt;
    }
    public BigDecimal getHandleFee() {
        return handleFee;
    }

    public void setHandleFee(BigDecimal handleFee) {
        this.handleFee = handleFee;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Transfer{" +
            "id=" + id +
            ", close=" + close +
            ", storeId=" + storeId +
            ", outSettAccountId=" + outSettAccountId +
            ", outDate=" + outDate +
            ", inSettAccountId=" + inSettAccountId +
            ", inDate=" + inDate +
            ", amt=" + amt +
            ", handleFee=" + handleFee +
            ", userId=" + userId +
            ", remark=" + remark +
            ", time=" + time +
            ", companyId=" + companyId +
        "}";
    }
}
